#! /usr/bin/env python3.6

first = int(input('input first numner: \n'))
last = int(input('input last numner: \n'))
result = 0
start = first

while start<=last:
    result += start
    start += 1


print('from %d to %d, plus result is : %d ' % (first, last, result))